package com.ricky.model;
import javax.validation.constraints.Max;
import com.ricky.model.example.BaseEntity;

public class HotelServiceMsg extends BaseEntity {
    private String userName;

    private Integer userId;

    private String hotelCode;

    private String msg;

    private Integer status;

    @Max(255)
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Max(255)
    public String getHotelCode() {
        return hotelCode;
    }

    public void setHotelCode(String hotelCode) {
        this.hotelCode = hotelCode == null ? null : hotelCode.trim();
    }

    @Max(1000)
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}